<%= render_partial "/url_body", :url => @link, :show_comment_count => false %>

<div id="url_comments">
    <%= render_partial "comments", :url => @link %>
</div>
<div id="post_comment">
<% form_tag do %>
    <%= text_area "comment", "comment", :cols => '50', :rows => '8' %>
    <%= hidden_field "comment", "url_id", :value => @link.id %>
    <p><%= submit_to_remote "", "添加评论", 
    :url => {:action => 'comment'}, 
    :update => 'url_comments', 
    :success => "$('comment_comment').value = ''" %></p>
<% end %>
</div>